//
// Created by mgr on 2019/1/6.
//

#include <UIlib.h>
#include <clicore.h>
#include "base/CRuisBaseWindow.h"

#ifndef YDTMONOCLIENT_CMAIN1FRAMEWND_H
#define YDTMONOCLIENT_CMAIN1FRAMEWND_H

namespace cliMain {
    using namespace DuiLib;
    using namespace cliCore;


    class CMain1FrameWnd : public CRuisBaseWindow {
    public:
        CMain1FrameWnd(CHorizontalLayoutUI*lat);

    public:
        void Init();
        void InitWindow();
        void Notify(TNotifyUI& msg);
        LRESULT OnDestroy(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled);

    public:
        bool LayoutOnSize(void*p);

    private:
        CHorizontalLayoutUI*layout;
    };

}

#endif //YDTMONOCLIENT_CMAIN1FRAMEWND_H
